using SG;
using UnityEngine.UI;

public class MainMenu : PanelBase
{
    public Button m_GameStart;
    public Button m_EditerStart;
    //public Button m_Menu;
    private void Start()
    {
        m_GameStart.onClick.AddListener(OnGameStart);
        m_EditerStart.onClick.AddListener(OnEdtorStart);
     
        //m_Menu.onClick.AddListener(OnGameMenuList);
    }

    void OnGameStart()
    {
        
        //DoClose();
    }
    void OnEdtorStart()
    {
        UIMgr.Instance().DoOpenWindow("MainEditor");
        DoClose();
    } 
}
